package com.code.day02;

public class Test6 {
    public static void main(String[] args) {
        int hours = 89;
        int day = hours/24;
        int hour = 89%24;
        System.out.println("为抵抗洪水，战士连续作战89小时：");
        System.out.println(hours + "是" + day + "天" + hour +"小时");
    }
}
